const { resolve } = require('path')

module.exports = {
  chainWebpack: (config) => {
    config
      .plugin('html')
      .tap((args) => {
        args[0].title = '火博';
        return args;
      });
    config.resolve.alias
      .set('@', resolve('src'));
  },
  publicPath: '/dist/',
  lintOnSave: false
};
